using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_TrangThaiThietBiEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_TrangThaiThietBiEntity()
         {
             tableName = "TBL_TrangThaiThietBi";


			 fieldInfos.Add(new FieldInfo("TBL_TrangThaiThietBi","MaTTTB","MaTTTB","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_TrangThaiThietBi","MotaTTTB","MotaTTTB","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_TrangThaiThietBi","TenTTTB","TenTTTB","string",50,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaTTTB;
		 protected string m_MotaTTTB;
		 protected string m_TenTTTB;

		 public string MaTTTB

          { 
                get { 
                    return m_MaTTTB;}

                set{m_MaTTTB=value;

                    GetField("MaTTTB").Set();
                    GetField("MaTTTB").IsNull=(value == null);           
                    }
          }
		 public string MotaTTTB

          { 
                get { 
                    return m_MotaTTTB;}

                set{m_MotaTTTB=value;

                    GetField("MotaTTTB").Set();
                    GetField("MotaTTTB").IsNull=(value == null);           
                    }
          }
		 public string TenTTTB

          { 
                get { 
                    return m_TenTTTB;}

                set{m_TenTTTB=value;

                    GetField("TenTTTB").Set();
                    GetField("TenTTTB").IsNull=(value == null);           
                    }
          }

}
}
